package com.jason.www.strategy_pattern.template;

public class StrategyPatternDemo {
    /**
     * 具体的调用
     */
    public void todo(){
        //选择使用的策略
        Strategy s = new ConcreteStrategyA();
        Context context = new Context(s);
        context.contextInterface();
    }
}
